<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://www.ufida.com/lfw" prefix="lfw" %>
<%@ taglib uri="http://www.ufida.com/uif" prefix="uif" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>

<html> 
	<head>
		<lfw:base/>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Cache-Control" content="no-cache"/>
		<meta http-equiv="Expires" content="0"/>
		<uif:import globalPath="/lfw/frame"/>
		<script type='text/javascript' src='/lfw/frame/script/reference/reference.js'></script>
		<script type='text/javascript' src='/lfw/frame/script/reference/refgridtree.js'></script>
		<link rel='STYLESHEET' type='text/css' href="/lfw/frame/themes/ncclassic/styles/reference/button.css">
	</head> 
	<body bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0" scroll=no onload="pageBodyScript()" style="background:#D8DFEC">
		<lfw:pageModel className="nc.lfw.reference.model.GridTreeReferencePageModel">
			<lfw:spliter divideSize="0.28" id="spliter2" orientation="h">
					<lfw:spliterPanelOne>
						<div style="width:100%;height:100%;background:#FFFFFF">
							<lfw:border width="1">
								<lfw:tree id="reftree" />
							</lfw:border>
						</div>
					</lfw:spliterPanelOne>
					<lfw:spliterPanelTwo>
						<div style="border:solid #98A5C7 1px;height:94%;width:100%;background:#ffffff;margin-top:10px;margin-right:5px">
							<lfw:layout type="border">
								<lfw:layoutPanel position="top" height="30">
									 <lfw:layout type="flowh"> 
									  	<lfw:layoutPanel>
											<%@include file="header.jsp" %>
										</lfw:layoutPanel>
									 </lfw:layout>
								</lfw:layoutPanel>
								<lfw:layoutPanel position="center">
									<lfw:border width="1" showLeft="false" showRight="false">
					                	<lfw:grid id="refgrid"/>
					                </lfw:border>
								</lfw:layoutPanel>
								<lfw:layoutPanel position="bottom" height="30">
									<lfw:layout type="flowh">
										<lfw:layoutPanel width="100%">
										</lfw:layoutPanel>
										<lfw:layoutPanel>
											<lfw:button id="okbt"/>
										</lfw:layoutPanel>
										<lfw:layoutPanel>
										&nbsp;&nbsp;&nbsp;&nbsp;
										</lfw:layoutPanel>
										<lfw:layoutPanel>
											<lfw:button id="cancelbt"/>
										</lfw:layoutPanel>
										<lfw:layoutPanel>
										&nbsp;&nbsp;&nbsp;&nbsp;
										</lfw:layoutPanel>
									</lfw:layout>
								</lfw:layoutPanel>
							</lfw:layout>
						</div>
				  </lfw:spliterPanelTwo>
			</lfw:spliter>
		</lfw:pageModel>
	</body>
</html>
<script>
	function getLoadDsParams(dataset)
	{
		if(dataset.id == getComponent("refgrid").model.dataset.id)
			return "userObj=" + getParameter('userObj');
	}
</script>